package com.ruoyi.system.domain.quality;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author GE-LV5
 * @create 2023/2/27 11:08
 * 详细表
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_detailed_table")
public class QualityDetailedTable implements Serializable {

    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "检验类别")
    @Excel(name = "检验类别")
    private String checkoutType;


    @ApiModelProperty(value = "检验依据")
    @Excel(name = "检验依据")
    private String inspectionStandard;

    @ApiModelProperty(value = "检验日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "检验日期")
    private Date surveyDate;

    @ApiModelProperty(value = "批号/日期")
    @Excel(name = "批号/日期")
    private String lotNumber;

    @ApiModelProperty(value = "批数量")
    @Excel(name = "批数量")
    private String batchNumber;

    @ApiModelProperty(value = "检验项目及要求")
    @Excel(name = "检验项目及要求")
    private String surveyEquipment;

    @ApiModelProperty(value = "首件")
    @Excel(name = "首件")
    private String initialWorkpiece;


    @ApiModelProperty(value = " 样1")
    @Excel(name = " 样1")
    private String Example_1;

    @ApiModelProperty(value = "样2")
    @Excel(name = "样2")
    private String Example_2;

    @ApiModelProperty(value = "样3")
    @Excel(name = "样3")
    private String Example_3;

    @ApiModelProperty(value = "样4")
    @Excel(name = "样4")
    private String Example_4;

    @ApiModelProperty(value = "样5")
    @Excel(name = "样5")
    private String Example_5;

    @ApiModelProperty(value = "结论 0合格 1不合格")
    @Excel(name = "结论")
    private String conclusion;

    @ApiModelProperty(value = "线别")
    @Excel(name = "线别")
    private String line;

    @ApiModelProperty(value = "送检时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "送检时间")
    private Date inspectDate;


    @ApiModelProperty(value = "检验人/日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "检验人/日期")
    private Date surveyorDate;

    @ApiModelProperty(value = "批准人/日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "批准人/日期")
    private Date approverDate;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

}
